home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / frend.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  67 lines

  1. // defines Frend robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_FREND_GSH
  7. #define INCLUDED_FREND_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "defaults.gsh"
  12.  
  13. hierarchy Hcy_Frend
  14. {
  15.     file "units\frend mkii.RIF"
  16.     name "frend mkii"
  17.     hotspot "Dum Flash"
  18. }
  19.  
  20. hierarchy Hcy_FrendCustomize
  21. {
  22.     file "units\wepfrend.RIF"
  23.     name "wephardrok"
  24. }
  25.  
  26. hierarchy Hcy_FrendShadow
  27. {
  28.     file "units\frend_shadow.RIF"
  29.     name "frend_shadow"
  30. }
  31.  
  32. character Chr_Frend : Chr_DefaultGoodie
  33. {
  34.     turning speed   0.75    // this is in revolutions per second
  35.     walking speed   1    // this is in animation cycles per second
  36.     strength        150    // initial strength points
  37.     aim             2    // how many degrees off target he can be at most
  38.     sight angle        75    // in degrees
  39.     sight range     8    // in metres
  40.     hearing range    0    // in metres
  41.     aggression    0.9    // from 0 to 1
  42.     radius        1    // used by the movement model
  43.     gun yaw angle    180    // in degrees
  44.     customization hierarchy Hcy_FrendCustomize
  45.     shadow hierarchy        Hcy_FrendShadow
  46.     description    frend description
  47.     status window u    339
  48.     status window v    0
  49.     vision cone        no
  50. }
  51.  
  52. role Rol_Frend : Rol_DefaultRobot
  53. {
  54.     shape        Hcy_Frend
  55.     character    Chr_Frend
  56.     identifier    "FREND"
  57.     armour        4
  58.     destructibility    Des_Explode
  59.     ai            bot
  60. //    sever point "upper arm right,upper arm left,thigh left,thigh right"
  61.     limit        4
  62. }
  63.                     
  64. ////////////////////////////////////////////////////////////////////////////////////
  65.  
  66. // end wrapper - for preventing multiple or recursive inclusions
  67. #endif // !INCLUDED_FREND_GSH